/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.acq.entity.news;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 系统消息Entity
 * @author lj
 * @version 2018-06-28
 */
public class AcqNews extends DataEntity<AcqNews> {
	
	private static final long serialVersionUID = 1L;
	private String title;		// title
	private String des;		// des
	private String content;		// content
	private String source;

	
	public AcqNews() {
		super();
	}

	public AcqNews(String id){
		super(id);
	}
	
	

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	@Length(min=0, max=128, message="title长度必须介于 0 和 128 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	@Length(min=0, max=255, message="des长度必须介于 0 和 255 之间")
	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}